package com.atguigu.gulimail.order.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author fangy
 * @date 2022-10-05 13:38
 */
@ConfigurationProperties(prefix = "gulimail.thread")
@Component
@Data
public class MyThreadPoolPropreties {

    private Integer coreSize;
    private Integer maxSize;
    private Integer keepAliveTime;

}
